#CFB352#CFB352

#CFB352 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.121 H 93.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CFB352
RGBrgb(207, 179, 82)
HSLhsl(47, 57%, 57%)
HSVhsv(47, 60%, 81%)
CMYKcmyk(0%, 13.5%, 60.4%, 18.8%)
CIE-LABlab(73.62, -1.34, 52.16)
CIE-LCHlch(73.62, 52.18, 91.48°)
OKLaboklab(77.22% -0.0069 0.1204)
OKLCHoklch(77.22% 0.121 93.3)
XYZxyz(43.3771, 46.1170, 14.5977)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB352 #526ECF
analogous
#CF7552 #CFB352 #ADCF52
triadic
#CFB352 #52CFB3 #B352CF
tetradic
#CFB352 #52CF75 #526ECF #CF52AD
square
#CFB352 #52CF75 #526ECF #CF52AD
split-complementary
#CFB352 #52ADCF #7552CF
monochromatic
#826D24 #B29531 #CFB352 #DCC882 #EADDB2

Accessibility & contrast

On white

2.05
#CFB352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CFB352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB352
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB352#FFFFFF#000000##000000
##CFB3521.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb352;
/* rgb */ color: rgb(207, 179, 82);
/* oklch */ color: oklch(77.2% 0.121 93.3);
Tailwind
colors: {
  custom: {
    50: '#e1c986',
    500: '#cfb352',
    950: '#000000',
  },
}
SCSS
$custom: #cfb352;
$custom-light: #e1c986;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb352",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 46.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77221,
    "c": 0.12061,
    "h": 93.3
  },
  "luminance": 0.46115
}

Semantic roles & 50–950 ramp

primary
#CFB352
secondary
#A5B0D8
accent
#6AE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB352

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

Preview Lab → · Contrast checker → · Palette generator →

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