#CFB551#CFB551

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

Color values

HEX#CFB551
RGBrgb(207, 181, 81)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 61%, 81%)
CMYKcmyk(0%, 12.6%, 60.9%, 18.8%)
CIE-LABlab(74.13, -2.46, 53.19)
CIE-LCHlch(74.13, 53.25, 92.65°)
OKLaboklab(77.62% -0.0103 0.1225)
OKLCHoklch(77.62% 0.123 94.8)
XYZxyz(43.7431, 46.9094, 14.5333)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB551 #516BCF
analogous
#CF7651 #CFB551 #AACF51
triadic
#CFB551 #51CFB5 #B551CF
tetradic
#CFB551 #51CF76 #516BCF #CF51AA
square
#CFB551 #51CF76 #516BCF #CF51AA
split-complementary
#CFB551 #51AACF #7651CF
monochromatic
#826E24 #B29731 #CFB551 #DCC981 #E9DEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB551#FFFFFF#000000##000000
##CFB5511.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)
#C6B246
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb551;
/* rgb */ color: rgb(207, 181, 81);
/* oklch */ color: oklch(77.6% 0.123 94.8);
Tailwind
colors: {
  custom: {
    50: '#e1ca85',
    500: '#cfb551',
    950: '#000000',
  },
}
SCSS
$custom: #cfb551;
$custom-light: #e1ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb551",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 47.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77621,
    "c": 0.12291,
    "h": 94.8
  },
  "luminance": 0.46907
}

Semantic roles & 50–950 ramp

primary
#CFB551
secondary
#A4AFD8
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB551

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

Preview Lab → · Contrast checker → · Palette generator →

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