#CFAF41#CFAF41

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

Color values

HEX#CFAF41
RGBrgb(207, 175, 65)
HSLhsl(46, 60%, 53%)
HSVhsv(46, 69%, 81%)
CMYKcmyk(0%, 15.5%, 68.6%, 18.8%)
CIE-LABlab(72.43, -0.29, 58.38)
CIE-LCHlch(72.43, 58.38, 90.29°)
OKLaboklab(76.24% -0.0059 0.1311)
OKLCHoklch(76.24% 0.131 92.6)
XYZxyz(42.0184, 44.3094, 11.3394)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF41 #4161CF
analogous
#CF6841 #CFAF41 #A8CF41
triadic
#CFAF41 #41CFAF #AF41CF
tetradic
#CFAF41 #41CF68 #4161CF #CF41A8
square
#CFAF41 #41CF68 #4161CF #CF41A8
split-complementary
#CFAF41 #41A8CF #6841CF
monochromatic
#77631E #A88C2B #CFAF41 #DBC472 #E8D8A3

Accessibility & contrast

On white

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

On black

9.86
#CFAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF41
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF41#FFFFFF#000000##000000
##CFAF411.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf41;
/* rgb */ color: rgb(207, 175, 65);
/* oklch */ color: oklch(76.2% 0.131 92.6);
Tailwind
colors: {
  custom: {
    50: '#e1c67b',
    500: '#cfaf41',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf41;
$custom-light: #e1c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf41",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 46.479,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76236,
    "c": 0.1312,
    "h": 92.6
  },
  "luminance": 0.44307
}

Semantic roles & 50–950 ramp

primary
#CFAF41
secondary
#97A5D4
accent
#69E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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