#CFAF47#CFAF47

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

Color values

HEX#CFAF47
RGBrgb(207, 175, 71)
HSLhsl(46, 59%, 55%)
HSVhsv(46, 66%, 81%)
CMYKcmyk(0%, 15.5%, 65.7%, 18.8%)
CIE-LABlab(72.48, 0.05, 55.87)
CIE-LCHlch(72.48, 55.87, 89.95°)
OKLaboklab(76.29% -0.0042 0.1267)
OKLCHoklch(76.29% 0.127 91.9)
XYZxyz(42.2015, 44.3826, 12.3039)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF47 #4767CF
analogous
#CF6B47 #CFAF47 #ABCF47
triadic
#CFAF47 #47CFAF #AF47CF
tetradic
#CFAF47 #47CF6B #4767CF #CF47AB
square
#CFAF47 #47CF6B #4767CF #CF47AB
split-complementary
#CFAF47 #47ABCF #6B47CF
monochromatic
#7B6620 #AC8E2D #CFAF47 #DCC478 #E8D9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAF47#FFFFFF#000000##000000
##CFAF471.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)
#C1AC3B
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf47;
/* rgb */ color: rgb(207, 175, 71);
/* oklch */ color: oklch(76.3% 0.127 91.9);
Tailwind
colors: {
  custom: {
    50: '#e1c67f',
    500: '#cfaf47',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf47;
$custom-light: #e1c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf47",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 45.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7629,
    "c": 0.12681,
    "h": 91.9
  },
  "luminance": 0.4438
}

Semantic roles & 50–950 ramp

primary
#CFAF47
secondary
#9CAAD6
accent
#6BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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