#CFAF4E#CFAF4E

#CFAF4E is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.4% C 0.121 H 91.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CFAF4E
RGBrgb(207, 175, 78)
HSLhsl(45, 57%, 56%)
HSVhsv(45, 62%, 81%)
CMYKcmyk(0%, 15.5%, 62.3%, 18.8%)
CIE-LABlab(72.55, 0.49, 52.80)
CIE-LCHlch(72.55, 52.80, 89.46°)
OKLaboklab(76.36% -0.0021 0.1213)
OKLCHoklch(76.36% 0.121 91)
XYZxyz(42.4393, 44.4777, 13.5559)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF4E #4E6ECF
analogous
#CF6E4E #CFAF4E #AECF4E
triadic
#CFAF4E #4ECFAF #AF4ECF
tetradic
#CFAF4E #4ECF6E #4E6ECF #CF4EAE
square
#CFAF4E #4ECF6E #4E6ECF #CF4EAE
split-complementary
#CFAF4E #4EAECF #6E4ECF
monochromatic
#806923 #B09030 #CFAF4E #DCC57E #E9DBAE

Accessibility & contrast

On white

2.12
#CFAF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CFAF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF4E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF4E#FFFFFF#000000##000000
##CFAF4E1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD44
Deuteranopia (green-blind)
#C8B652
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf4e;
/* rgb */ color: rgb(207, 175, 78);
/* oklch */ color: oklch(76.4% 0.121 91.0);
Tailwind
colors: {
  custom: {
    50: '#e1c683',
    500: '#cfaf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf4e;
$custom-light: #e1c683;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf4e",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 45.116,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7636,
    "c": 0.12127,
    "h": 91
  },
  "luminance": 0.44475
}

Semantic roles & 50–950 ramp

primary
#CFAF4E
secondary
#A2AFD7
accent
#6DE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF4E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFAF4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva