#CFA936#CFA936

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

Color values

HEX#CFA936
RGBrgb(207, 169, 54)
HSLhsl(45, 61%, 51%)
HSVhsv(45, 74%, 81%)
CMYKcmyk(0%, 18.4%, 73.9%, 18.8%)
CIE-LABlab(70.81, 2.35, 61.15)
CIE-LCHlch(70.81, 61.19, 87.80°)
OKLaboklab(74.93% 0.0004 0.1349)
OKLCHoklch(74.93% 0.135 89.8)
XYZxyz(40.5883, 41.9102, 9.4410)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA936 #365CCF
analogous
#CF5C36 #CFA936 #A8CF36
triadic
#CFA936 #36CFA9 #A936CF
tetradic
#CFA936 #36CF5C #365CCF #CF36A8
square
#CFA936 #36CF5C #365CCF #CF36A8
split-complementary
#CFA936 #36A8CF #5C36CF
monochromatic
#705B1B #A18327 #CFA936 #DBBE67 #E7D399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA936#FFFFFF#000000##000000
##CFA9361.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)
#BCA724
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#E09B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa936;
/* rgb */ color: rgb(207, 169, 54);
/* oklch */ color: oklch(74.9% 0.135 89.8);
Tailwind
colors: {
  custom: {
    50: '#e2c275',
    500: '#cfa936',
    950: '#000000',
  },
}
SCSS
$custom: #cfa936;
$custom-light: #e2c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa936",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 54
  },
  "hsl": {
    "h": 45.098,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74928,
    "c": 0.13492,
    "h": 89.8
  },
  "luminance": 0.41908
}

Semantic roles & 50–950 ramp

primary
#CFA936
secondary
#8F9FD2
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA936

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

Preview Lab → · Contrast checker → · Palette generator →

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