#CFB851#CFB851

#CFB851 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.125 H 96.8°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CFB851
RGBrgb(207, 184, 81)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 61%, 81%)
CMYKcmyk(0%, 11.1%, 60.9%, 18.8%)
CIE-LABlab(74.91, -4.03, 54.06)
CIE-LCHlch(74.91, 54.21, 94.27°)
OKLaboklab(78.24% -0.0148 0.1243)
OKLCHoklch(78.24% 0.125 96.8)
XYZxyz(44.3597, 48.1425, 14.7388)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB851 #5168CF
analogous
#CF7951 #CFB851 #A7CF51
triadic
#CFB851 #51CFB8 #B851CF
tetradic
#CFB851 #51CF79 #5168CF #CF51A7
square
#CFB851 #51CF79 #5168CF #CF51A7
split-complementary
#CFB851 #51A7CF #7951CF
monochromatic
#827124 #B29A31 #CFB851 #DCCC81 #E9DFB1

Accessibility & contrast

On white

1.98
#CFB851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CFB851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB851
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB851#FFFFFF#000000##000000
##CFB8511.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#DEABA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb851;
/* rgb */ color: rgb(207, 184, 81);
/* oklch */ color: oklch(78.2% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#e1cd86',
    500: '#cfb851',
    950: '#000000',
  },
}
SCSS
$custom: #cfb851;
$custom-light: #e1cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb851",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 81
  },
  "hsl": {
    "h": 49.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7824,
    "c": 0.12521,
    "h": 96.8
  },
  "luminance": 0.4814
}

Semantic roles & 50–950 ramp

primary
#CFB851
secondary
#A4ADD8
accent
#64E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB851

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

Preview Lab → · Contrast checker → · Palette generator →

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