#CFB051#CFB051

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

Color values

HEX#CFB051
RGBrgb(207, 176, 81)
HSLhsl(45, 57%, 56%)
HSVhsv(45, 61%, 81%)
CMYKcmyk(0%, 15%, 60.9%, 18.8%)
CIE-LABlab(72.83, 0.17, 51.74)
CIE-LCHlch(72.83, 51.74, 89.81°)
OKLaboklab(76.6% -0.0027 0.1194)
OKLCHoklch(76.6% 0.119 91.3)
XYZxyz(42.7446, 44.9124, 14.2005)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB051 #5170CF
analogous
#CF7151 #CFB051 #AFCF51
triadic
#CFB051 #51CFB0 #B051CF
tetradic
#CFB051 #51CF71 #5170CF #CF51AF
square
#CFB051 #51CF71 #5170CF #CF51AF
split-complementary
#CFB051 #51AFCF #7151CF
monochromatic
#826B24 #B29231 #CFB051 #DCC681 #E9DCB1

Accessibility & contrast

On white

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

On black

9.98
#CFB051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB051
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB051#FFFFFF#000000##000000
##CFB0511.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb051;
/* rgb */ color: rgb(207, 176, 81);
/* oklch */ color: oklch(76.6% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#e1c785',
    500: '#cfb051',
    950: '#000000',
  },
}
SCSS
$custom: #cfb051;
$custom-light: #e1c785;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb051",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 81
  },
  "hsl": {
    "h": 45.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76596,
    "c": 0.11941,
    "h": 91.3
  },
  "luminance": 0.4491
}

Semantic roles & 50–950 ramp

primary
#CFB051
secondary
#A4B1D8
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB051

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

Preview Lab → · Contrast checker → · Palette generator →

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