#CFAF4B#CFAF4B

#CFAF4B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.124 H 91.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CFAF4B
RGBrgb(207, 175, 75)
HSLhsl(45, 58%, 55%)
HSVhsv(45, 64%, 81%)
CMYKcmyk(0%, 15.5%, 63.8%, 18.8%)
CIE-LABlab(72.52, 0.30, 54.13)
CIE-LCHlch(72.52, 54.13, 89.68°)
OKLaboklab(76.33% -0.003 0.1237)
OKLCHoklch(76.33% 0.124 91.4)
XYZxyz(42.3342, 44.4357, 13.0024)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF4B #4B6BCF
analogous
#CF6D4B #CFAF4B #ADCF4B
triadic
#CFAF4B #4BCFAF #AF4BCF
tetradic
#CFAF4B #4BCF6D #4B6BCF #CF4BAD
square
#CFAF4B #4BCF6D #4B6BCF #CF4BAD
split-complementary
#CFAF4B #4BADCF #6D4BCF
monochromatic
#7E6822 #AE8F2E #CFAF4B #DCC47B #E9DAAC

Accessibility & contrast

On white

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

On black

9.89
#CFAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF4B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF4B#FFFFFF#000000##000000
##CFAF4B1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD40
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf4b;
/* rgb */ color: rgb(207, 175, 75);
/* oklch */ color: oklch(76.3% 0.124 91.4);
Tailwind
colors: {
  custom: {
    50: '#e1c681',
    500: '#cfaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf4b;
$custom-light: #e1c681;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf4b",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 45.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76329,
    "c": 0.1237,
    "h": 91.4
  },
  "luminance": 0.44433
}

Semantic roles & 50–950 ramp

primary
#CFAF4B
secondary
#9FADD6
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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