#CBC34F#CBC34F

#CBC34F is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.137 H 105.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CBC34F
RGBrgb(203, 195, 79)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 3.9%, 61.1%, 20.4%)
CIE-LABlab(77.46, -11.53, 57.63)
CIE-LCHlch(77.46, 58.77, 101.31°)
OKLaboklab(80.17% -0.0362 0.1318)
OKLCHoklch(80.17% 0.137 105.4)
XYZxyz(45.5566, 52.2928, 15.0894)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34F #4F57CB
analogous
#CB854F #CBC34F #95CB4F
triadic
#CBC34F #4FCBC3 #C34FCB
tetradic
#CBC34F #4FCB85 #4F57CB #CB4F95
square
#CBC34F #4FCB85 #4F57CB #CB4F95
split-complementary
#CBC34F #4F95CB #854FCB
monochromatic
#7B7624 #AAA332 #CBC34F #D9D37E #E7E3AD

Accessibility & contrast

On white

1.83
#CBC34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CBC34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC34F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC34F#FFFFFF#000000##000000
##CBC34F1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC42
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc34f;
/* rgb */ color: rgb(203, 195, 79);
/* oklch */ color: oklch(80.2% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded485',
    500: '#cbc34f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34f;
$custom-light: #ded485;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34f",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 56.129,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80168,
    "c": 0.13665,
    "h": 105.4
  },
  "luminance": 0.52291
}

Semantic roles & 50–950 ramp

primary
#CBC34F
secondary
#3B4083
accent
#54DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC34F

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

Preview Lab → · Contrast checker → · Palette generator →

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