#CFAF4D#CFAF4D

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

Color values

HEX#CFAF4D
RGBrgb(207, 175, 77)
HSLhsl(45, 58%, 56%)
HSVhsv(45, 63%, 81%)
CMYKcmyk(0%, 15.5%, 62.8%, 18.8%)
CIE-LABlab(72.54, 0.43, 53.25)
CIE-LCHlch(72.54, 53.25, 89.54°)
OKLaboklab(76.35% -0.0024 0.1221)
OKLCHoklch(76.35% 0.122 91.1)
XYZxyz(42.4037, 44.4635, 13.3686)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF4D #4D6DCF
analogous
#CF6E4D #CFAF4D #AECF4D
triadic
#CFAF4D #4DCFAF #AF4DCF
tetradic
#CFAF4D #4DCF6E #4D6DCF #CF4DAE
square
#CFAF4D #4DCF6E #4D6DCF #CF4DAE
split-complementary
#CFAF4D #4DAECF #6E4DCF
monochromatic
#7F6822 #AF902F #CFAF4D #DCC57D #E9DAAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAF4D#FFFFFF#000000##000000
##CFAF4D1.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)
#C1AD42
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf4d;
/* rgb */ color: rgb(207, 175, 77);
/* oklch */ color: oklch(76.3% 0.122 91.1);
Tailwind
colors: {
  custom: {
    50: '#e1c683',
    500: '#cfaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf4d;
$custom-light: #e1c683;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf4d",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 45.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76349,
    "c": 0.12208,
    "h": 91.1
  },
  "luminance": 0.44461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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