#CFB250#CFB250

#CFB250 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.122 H 92.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CFB250
RGBrgb(207, 178, 80)
HSLhsl(46, 57%, 56%)
HSVhsv(46, 61%, 81%)
CMYKcmyk(0%, 14%, 61.4%, 18.8%)
CIE-LABlab(73.34, -0.96, 52.77)
CIE-LCHlch(73.34, 52.78, 91.04°)
OKLaboklab(76.99% -0.006 0.1215)
OKLCHoklch(76.99% 0.122 92.8)
XYZxyz(43.1024, 45.6876, 14.1361)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB250 #506DCF
analogous
#CF7350 #CFB250 #ADCF50
triadic
#CFB250 #50CFB2 #B250CF
tetradic
#CFB250 #50CF73 #506DCF #CF50AD
square
#CFB250 #50CF73 #506DCF #CF50AD
split-complementary
#CFB250 #50ADCF #7350CF
monochromatic
#816C23 #B19431 #CFB250 #DCC780 #E9DCB0

Accessibility & contrast

On white

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

On black

10.14
#CFB250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB250
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB250#FFFFFF#000000##000000
##CFB2501.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#DFA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb250;
/* rgb */ color: rgb(207, 178, 80);
/* oklch */ color: oklch(77.0% 0.122 92.8);
Tailwind
colors: {
  custom: {
    50: '#e1c885',
    500: '#cfb250',
    950: '#000000',
  },
}
SCSS
$custom: #cfb250;
$custom-light: #e1c885;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb250",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 80
  },
  "hsl": {
    "h": 46.299,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.1216,
    "h": 92.8
  },
  "luminance": 0.45685
}

Semantic roles & 50–950 ramp

primary
#CFB250
secondary
#A3AFD8
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB250

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

Preview Lab → · Contrast checker → · Palette generator →

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