#CFAF36#CFAF36

#CFAF36 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.138 H 93.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CFAF36
RGBrgb(207, 175, 54)
HSLhsl(47, 61%, 51%)
HSVhsv(47, 74%, 81%)
CMYKcmyk(0%, 15.5%, 73.9%, 18.8%)
CIE-LABlab(72.36, -0.83, 62.65)
CIE-LCHlch(72.36, 62.65, 90.76°)
OKLaboklab(76.15% -0.0087 0.1381)
OKLCHoklch(76.15% 0.138 93.6)
XYZxyz(41.7302, 44.1941, 9.8216)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF36 #3656CF
analogous
#CF6236 #CFAF36 #A2CF36
triadic
#CFAF36 #36CFAF #AF36CF
tetradic
#CFAF36 #36CF62 #3656CF #CF36A2
square
#CFAF36 #36CF62 #3656CF #CF36A2
split-complementary
#CFAF36 #36A2CF #6236CF
monochromatic
#705E1B #A18827 #CFAF36 #DBC367 #E7D699

Accessibility & contrast

On white

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

On black

9.84
#CFAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF36
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF36#FFFFFF#000000##000000
##CFAF361.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#E0A197
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfaf36;
/* rgb */ color: rgb(207, 175, 54);
/* oklch */ color: oklch(76.1% 0.138 93.6);
Tailwind
colors: {
  custom: {
    50: '#e2c675',
    500: '#cfaf36',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf36;
$custom-light: #e2c675;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf36",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 47.451,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.13838,
    "h": 93.6
  },
  "luminance": 0.44192
}

Semantic roles & 50–950 ramp

primary
#CFAF36
secondary
#8F9DD2
accent
#65E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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