#CFAF3E#CFAF3E

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

Color values

HEX#CFAF3E
RGBrgb(207, 175, 62)
HSLhsl(47, 60%, 53%)
HSVhsv(47, 70%, 81%)
CMYKcmyk(0%, 15.5%, 70%, 18.8%)
CIE-LABlab(72.41, -0.45, 59.59)
CIE-LCHlch(72.41, 59.59, 90.43°)
OKLaboklab(76.21% -0.0067 0.1331)
OKLCHoklch(76.21% 0.133 92.9)
XYZxyz(41.9338, 44.2755, 10.8938)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF3E #3E5ECF
analogous
#CF673E #CFAF3E #A6CF3E
triadic
#CFAF3E #3ECFAF #AF3ECF
tetradic
#CFAF3E #3ECF67 #3E5ECF #CF3EA6
square
#CFAF3E #3ECF67 #3E5ECF #CF3EA6
split-complementary
#CFAF3E #3EA6CF #673ECF
monochromatic
#75621D #A68B29 #CFAF3E #DBC36F #E7D8A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAF3E#FFFFFF#000000##000000
##CFAF3E1.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)
#C2AC2E
Deuteranopia (green-blind)
#C9B644
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf3e;
/* rgb */ color: rgb(207, 175, 62);
/* oklch */ color: oklch(76.2% 0.133 92.9);
Tailwind
colors: {
  custom: {
    50: '#e2c67a',
    500: '#cfaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf3e;
$custom-light: #e2c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf3e",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 46.759,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76211,
    "c": 0.13328,
    "h": 92.9
  },
  "luminance": 0.44273
}

Semantic roles & 50–950 ramp

primary
#CFAF3E
secondary
#95A3D4
accent
#68E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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