#CFB552#CFB552

#CFB552 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.122 H 94.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CFB552
RGBrgb(207, 181, 82)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 60%, 81%)
CMYKcmyk(0%, 12.6%, 60.4%, 18.8%)
CIE-LABlab(74.14, -2.39, 52.74)
CIE-LCHlch(74.14, 52.80, 92.60°)
OKLaboklab(77.63% -0.0099 0.1217)
OKLCHoklch(77.63% 0.122 94.7)
XYZxyz(43.7809, 46.9245, 14.7323)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB552 #526CCF
analogous
#CF7752 #CFB552 #ABCF52
triadic
#CFB552 #52CFB5 #B552CF
tetradic
#CFB552 #52CF77 #526CCF #CF52AB
square
#CFB552 #52CF77 #526CCF #CF52AB
split-complementary
#CFB552 #52ABCF #7752CF
monochromatic
#826F24 #B29831 #CFB552 #DCC982 #EADEB2

Accessibility & contrast

On white

2.02
#CFB552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CFB552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB552
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB552#FFFFFF#000000##000000
##CFB5521.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B248
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb552;
/* rgb */ color: rgb(207, 181, 82);
/* oklch */ color: oklch(77.6% 0.122 94.7);
Tailwind
colors: {
  custom: {
    50: '#e1ca86',
    500: '#cfb552',
    950: '#000000',
  },
}
SCSS
$custom: #cfb552;
$custom-light: #e1ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb552",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 47.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77632,
    "c": 0.12207,
    "h": 94.7
  },
  "luminance": 0.46922
}

Semantic roles & 50–950 ramp

primary
#CFB552
secondary
#A5AFD8
accent
#68E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB552

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

Preview Lab → · Contrast checker → · Palette generator →

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