#CBC94F#CBC94F

#CBC94F is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.143 H 108.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CBC94F
RGBrgb(203, 201, 79)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 61.1%, 20.4%)
CIE-LABlab(79.06, -14.56, 59.37)
CIE-LCHlch(79.06, 61.13, 103.78°)
OKLaboklab(81.45% -0.0448 0.1354)
OKLCHoklch(81.45% 0.143 108.3)
XYZxyz(46.9280, 55.0357, 15.5466)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC94F #4F51CB
analogous
#CB8B4F #CBC94F #8FCB4F
triadic
#CBC94F #4FCBC9 #C94FCB
tetradic
#CBC94F #4FCB8B #4F51CB #CB4F8F
square
#CBC94F #4FCB8B #4F51CB #CB4F8F
split-complementary
#CBC94F #4F8FCB #8B4FCB
monochromatic
#7B7A24 #AAA932 #CBC94F #D9D77E #E7E6AD

Accessibility & contrast

On white

1.75
#CBC94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CBC94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC94F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC94F#FFFFFF#000000##000000
##CBC94F1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc94f;
/* rgb */ color: rgb(203, 201, 79);
/* oklch */ color: oklch(81.4% 0.143 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#cbc94f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc94f;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc94f",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 59.032,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81447,
    "c": 0.14266,
    "h": 108.3
  },
  "luminance": 0.55034
}

Semantic roles & 50–950 ramp

primary
#CBC94F
secondary
#3B3C83
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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