#CFB259#CFB259

#CFB259 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.114 H 91.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CFB259
RGBrgb(207, 178, 89)
HSLhsl(45, 55%, 58%)
HSVhsv(45, 57%, 81%)
CMYKcmyk(0%, 14%, 57%, 18.8%)
CIE-LABlab(73.43, -0.30, 48.64)
CIE-LCHlch(73.43, 48.65, 90.36°)
OKLaboklab(77.1% -0.0031 0.1137)
OKLCHoklch(77.1% 0.114 91.5)
XYZxyz(43.4575, 45.8296, 16.0062)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB259 #5976CF
analogous
#CF7759 #CFB259 #B1CF59
triadic
#CFB259 #59CFB2 #B259CF
tetradic
#CFB259 #59CF77 #5976CF #CF59B1
square
#CFB259 #59CF77 #5976CF #CF59B1
split-complementary
#CFB259 #59B1CF #7759CF
monochromatic
#876F27 #B69635 #CFB259 #DDC888 #EADEB8

Accessibility & contrast

On white

2.07
#CFB259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CFB259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB259
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB259#FFFFFF#000000##000000
##CFB2591.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF51
Deuteranopia (green-blind)
#CAB85D
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb259;
/* rgb */ color: rgb(207, 178, 89);
/* oklch */ color: oklch(77.1% 0.114 91.5);
Tailwind
colors: {
  custom: {
    50: '#e0c88a',
    500: '#cfb259',
    950: '#000000',
  },
}
SCSS
$custom: #cfb259;
$custom-light: #e0c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb259",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 45.254,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77097,
    "c": 0.11373,
    "h": 91.5
  },
  "luminance": 0.45827
}

Semantic roles & 50–950 ramp

primary
#CFB259
secondary
#AAB6D9
accent
#6EDE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB259

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

Preview Lab → · Contrast checker → · Palette generator →

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