#CFAF3B#CFAF3B

#CFAF3B is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.135 H 93.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CFAF3B
RGBrgb(207, 175, 59)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 71%, 81%)
CMYKcmyk(0%, 15.5%, 71.5%, 18.8%)
CIE-LABlab(72.39, -0.60, 60.76)
CIE-LCHlch(72.39, 60.77, 90.57°)
OKLaboklab(76.19% -0.0075 0.1351)
OKLCHoklch(76.19% 0.135 93.2)
XYZxyz(41.8537, 44.2435, 10.4722)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF3B #3B5BCF
analogous
#CF653B #CFAF3B #A5CF3B
triadic
#CFAF3B #3BCFAF #AF3BCF
tetradic
#CFAF3B #3BCF65 #3B5BCF #CF3BA5
square
#CFAF3B #3BCF65 #3B5BCF #CF3BA5
split-complementary
#CFAF3B #3BA5CF #653BCF
monochromatic
#73611C #A58A28 #CFAF3B #DBC36C #E7D79D

Accessibility & contrast

On white

2.13
#CFAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CFAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF3B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF3B#FFFFFF#000000##000000
##CFAF3B1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfaf3b;
/* rgb */ color: rgb(207, 175, 59);
/* oklch */ color: oklch(76.2% 0.135 93.2);
Tailwind
colors: {
  custom: {
    50: '#e2c678',
    500: '#cfaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf3b;
$custom-light: #e2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf3b",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 47.027,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76187,
    "c": 0.13527,
    "h": 93.2
  },
  "luminance": 0.44241
}

Semantic roles & 50–950 ramp

primary
#CFAF3B
secondary
#93A1D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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