#CFB950#CFB950

#CFB950 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.127 H 97.5°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB950
RGBrgb(207, 185, 80)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 61%, 81%)
CMYKcmyk(0%, 10.6%, 61.4%, 18.8%)
CIE-LABlab(75.17, -4.62, 54.79)
CIE-LCHlch(75.17, 54.98, 94.82°)
OKLaboklab(78.44% -0.0166 0.1258)
OKLCHoklch(78.44% 0.127 97.5)
XYZxyz(44.5309, 48.5445, 14.6123)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB950 #5066CF
analogous
#CF7A50 #CFB950 #A6CF50
triadic
#CFB950 #50CFB9 #B950CF
tetradic
#CFB950 #50CF7A #5066CF #CF50A6
square
#CFB950 #50CF7A #5066CF #CF50A6
split-complementary
#CFB950 #50A6CF #7A50CF
monochromatic
#817123 #B19B31 #CFB950 #DCCC80 #E9DFB0

Accessibility & contrast

On white

1.96
#CFB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CFB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB950
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB950#FFFFFF#000000##000000
##CFB9501.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB544
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#DEACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb950;
/* rgb */ color: rgb(207, 185, 80);
/* oklch */ color: oklch(78.4% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#e1cd85',
    500: '#cfb950',
    950: '#000000',
  },
}
SCSS
$custom: #cfb950;
$custom-light: #e1cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb950",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 49.606,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78437,
    "c": 0.12685,
    "h": 97.5
  },
  "luminance": 0.48543
}

Semantic roles & 50–950 ramp

primary
#CFB950
secondary
#A3ACD8
accent
#62E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB950

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

Preview Lab → · Contrast checker → · Palette generator →

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