#CFA932#CFA932

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

Color values

HEX#CFA932
RGBrgb(207, 169, 50)
HSLhsl(45, 62%, 50%)
HSVhsv(45, 76%, 81%)
CMYKcmyk(0%, 18.4%, 75.8%, 18.8%)
CIE-LABlab(70.78, 2.17, 62.61)
CIE-LCHlch(70.78, 62.65, 88.01°)
OKLaboklab(74.9% -0.0005 0.1372)
OKLCHoklch(74.9% 0.137 90.2)
XYZxyz(40.4982, 41.8742, 8.9665)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA932 #3258CF
analogous
#CF5B32 #CFA932 #A6CF32
triadic
#CFA932 #32CFA9 #A932CF
tetradic
#CFA932 #32CF5B #3258CF #CF32A6
square
#CFA932 #32CF5B #3258CF #CF32A6
split-complementary
#CFA932 #32A6CF #5B32CF
monochromatic
#6D591A #9F8125 #CFA932 #DBBE64 #E6D395

Accessibility & contrast

On white

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

On black

9.37
#CFA932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA932
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA932#FFFFFF#000000##000000
##CFA9321.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71D
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#E09A92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa932;
/* rgb */ color: rgb(207, 169, 50);
/* oklch */ color: oklch(74.9% 0.137 90.2);
Tailwind
colors: {
  custom: {
    50: '#e2c273',
    500: '#cfa932',
    950: '#000000',
  },
}
SCSS
$custom: #cfa932;
$custom-light: #e2c273;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa932",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 50
  },
  "hsl": {
    "h": 45.478,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.749,
    "c": 0.13724,
    "h": 90.2
  },
  "luminance": 0.41872
}

Semantic roles & 50–950 ramp

primary
#CFA932
secondary
#8B9CD1
accent
#6AE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CFA932

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

Preview Lab → · Contrast checker → · Palette generator →

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