#CFB952#CFB952

#CFB952 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.125 H 97.3°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB952
RGBrgb(207, 185, 82)
HSLhsl(49, 57%, 57%)
HSVhsv(49, 60%, 81%)
CMYKcmyk(0%, 10.6%, 60.4%, 18.8%)
CIE-LABlab(75.19, -4.49, 53.91)
CIE-LCHlch(75.19, 54.09, 94.76°)
OKLaboklab(78.46% -0.016 0.1242)
OKLCHoklch(78.46% 0.125 97.3)
XYZxyz(44.6059, 48.5745, 15.0073)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB952 #5268CF
analogous
#CF7B52 #CFB952 #A7CF52
triadic
#CFB952 #52CFB9 #B952CF
tetradic
#CFB952 #52CF7B #5268CF #CF52A7
square
#CFB952 #52CF7B #5268CF #CF52A7
split-complementary
#CFB952 #52A7CF #7B52CF
monochromatic
#827224 #B29C31 #CFB952 #DCCC82 #EAE0B2

Accessibility & contrast

On white

1.96
#CFB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CFB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB952
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB952#FFFFFF#000000##000000
##CFB9521.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#D0BC57
Tritanopia (blue-blind)
#DEACA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb952;
/* rgb */ color: rgb(207, 185, 82);
/* oklch */ color: oklch(78.5% 0.125 97.3);
Tailwind
colors: {
  custom: {
    50: '#e1cd86',
    500: '#cfb952',
    950: '#000000',
  },
}
SCSS
$custom: #cfb952;
$custom-light: #e1cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb952",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 49.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78458,
    "c": 0.12517,
    "h": 97.3
  },
  "luminance": 0.48573
}

Semantic roles & 50–950 ramp

primary
#CFB952
secondary
#A5AED8
accent
#63E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB952

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

Preview Lab → · Contrast checker → · Palette generator →

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