#CFAF49#CFAF49

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

Color values

HEX#CFAF49
RGBrgb(207, 175, 73)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 65%, 81%)
CMYKcmyk(0%, 15.5%, 64.7%, 18.8%)
CIE-LABlab(72.50, 0.17, 55.00)
CIE-LCHlch(72.50, 55.00, 89.82°)
OKLaboklab(76.31% -0.0036 0.1252)
OKLCHoklch(76.31% 0.125 91.7)
XYZxyz(42.2668, 44.4087, 12.6475)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF49 #4969CF
analogous
#CF6C49 #CFAF49 #ACCF49
triadic
#CFAF49 #49CFAF #AF49CF
tetradic
#CFAF49 #49CF6C #4969CF #CF49AC
square
#CFAF49 #49CF6C #4969CF #CF49AC
split-complementary
#CFAF49 #49ACCF #6C49CF
monochromatic
#7D6721 #AD8F2E #CFAF49 #DCC479 #E9DAAA

Accessibility & contrast

On white

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

On black

9.88
#CFAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF49
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF49#FFFFFF#000000##000000
##CFAF491.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfaf49;
/* rgb */ color: rgb(207, 175, 73);
/* oklch */ color: oklch(76.3% 0.125 91.7);
Tailwind
colors: {
  custom: {
    50: '#e1c680',
    500: '#cfaf49',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf49;
$custom-light: #e1c680;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf49",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 45.672,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.12527,
    "h": 91.7
  },
  "luminance": 0.44406
}

Semantic roles & 50–950 ramp

primary
#CFAF49
secondary
#9EABD6
accent
#6BE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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