#CFB253#CFB253

#CFB253 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.119 H 92.4°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CFB253
RGBrgb(207, 178, 83)
HSLhsl(46, 56%, 57%)
HSVhsv(46, 60%, 81%)
CMYKcmyk(0%, 14%, 59.9%, 18.8%)
CIE-LABlab(73.37, -0.75, 51.41)
CIE-LCHlch(73.37, 51.42, 90.83°)
OKLaboklab(77.03% -0.0051 0.1189)
OKLCHoklch(77.03% 0.119 92.4)
XYZxyz(43.2158, 45.7329, 14.7330)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB253 #5370CF
analogous
#CF7453 #CFB253 #AECF53
triadic
#CFB253 #53CFB2 #B253CF
tetradic
#CFB253 #53CF74 #5370CF #CF53AE
square
#CFB253 #53CF74 #5370CF #CF53AE
split-complementary
#CFB253 #53AECF #7453CF
monochromatic
#836D25 #B39532 #CFB253 #DCC783 #EADDB3

Accessibility & contrast

On white

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

On black

10.15
#CFB253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB253
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB253#FFFFFF#000000##000000
##CFB2531.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF49
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#DEA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb253;
/* rgb */ color: rgb(207, 178, 83);
/* oklch */ color: oklch(77.0% 0.119 92.4);
Tailwind
colors: {
  custom: {
    50: '#e1c887',
    500: '#cfb253',
    950: '#000000',
  },
}
SCSS
$custom: #cfb253;
$custom-light: #e1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb253",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 45.968,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77027,
    "c": 0.11905,
    "h": 92.4
  },
  "luminance": 0.45731
}

Semantic roles & 50–950 ramp

primary
#CFB253
secondary
#A6B1D8
accent
#6CE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB253

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

Preview Lab → · Contrast checker → · Palette generator →

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