#CFA937#CFA937

#CFA937 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.134 H 89.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CFA937
RGBrgb(207, 169, 55)
HSLhsl(45, 61%, 51%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 18.4%, 73.4%, 18.8%)
CIE-LABlab(70.82, 2.39, 60.77)
CIE-LCHlch(70.82, 60.82, 87.75°)
OKLaboklab(74.94% 0.0006 0.1343)
OKLCHoklch(74.94% 0.134 89.7)
XYZxyz(40.6120, 41.9197, 9.5659)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA937 #375DCF
analogous
#CF5D37 #CFA937 #A9CF37
triadic
#CFA937 #37CFA9 #A937CF
tetradic
#CFA937 #37CF5D #375DCF #CF37A9
square
#CFA937 #37CF5D #375DCF #CF37A9
split-complementary
#CFA937 #37A9CF #5D37CF
monochromatic
#715B1B #A28327 #CFA937 #DBBE68 #E7D39A

Accessibility & contrast

On white

2.24
#CFA937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CFA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA937
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA937#FFFFFF#000000##000000
##CFA9371.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#E09B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa937;
/* rgb */ color: rgb(207, 169, 55);
/* oklch */ color: oklch(74.9% 0.134 89.7);
Tailwind
colors: {
  custom: {
    50: '#e2c275',
    500: '#cfa937',
    950: '#000000',
  },
}
SCSS
$custom: #cfa937;
$custom-light: #e2c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa937",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 45,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74935,
    "c": 0.13431,
    "h": 89.7
  },
  "luminance": 0.41917
}

Semantic roles & 50–950 ramp

primary
#CFA937
secondary
#8FA0D2
accent
#6CE443
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA937

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

Preview Lab → · Contrast checker → · Palette generator →

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