#CFB052#CFB052

#CFB052 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.119 H 91.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CFB052
RGBrgb(207, 176, 82)
HSLhsl(45, 57%, 57%)
HSVhsv(45, 60%, 81%)
CMYKcmyk(0%, 15%, 60.4%, 18.8%)
CIE-LABlab(72.84, 0.24, 51.28)
CIE-LCHlch(72.84, 51.28, 89.73°)
OKLaboklab(76.61% -0.0023 0.1185)
OKLCHoklch(76.61% 0.119 91.1)
XYZxyz(42.7824, 44.9275, 14.3994)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB052 #5271CF
analogous
#CF7252 #CFB052 #B0CF52
triadic
#CFB052 #52CFB0 #B052CF
tetradic
#CFB052 #52CF72 #5271CF #CF52B0
square
#CFB052 #52CF72 #5271CF #CF52B0
split-complementary
#CFB052 #52B0CF #7252CF
monochromatic
#826B24 #B29231 #CFB052 #DCC682 #EADCB2

Accessibility & contrast

On white

2.10
#CFB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CFB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB052
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB052#FFFFFF#000000##000000
##CFB0521.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE48
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb052;
/* rgb */ color: rgb(207, 176, 82);
/* oklch */ color: oklch(76.6% 0.119 91.1);
Tailwind
colors: {
  custom: {
    50: '#e1c786',
    500: '#cfb052',
    950: '#000000',
  },
}
SCSS
$custom: #cfb052;
$custom-light: #e1c786;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb052",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 45.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76607,
    "c": 0.11856,
    "h": 91.1
  },
  "luminance": 0.44925
}

Semantic roles & 50–950 ramp

primary
#CFB052
secondary
#A5B2D8
accent
#6EE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB052

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

Preview Lab → · Contrast checker → · Palette generator →

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