#CBCA4F#CBCA4F

#CBCA4F is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.144 H 108.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CBCA4F
RGBrgb(203, 202, 79)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 61.1%, 20.4%)
CIE-LABlab(79.33, -15.07, 59.66)
CIE-LCHlch(79.33, 61.53, 104.17°)
OKLaboklab(81.66% -0.0462 0.1361)
OKLCHoklch(81.66% 0.144 108.8)
XYZxyz(47.1619, 55.5034, 15.6245)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA4F #4F50CB
analogous
#CB8C4F #CBCA4F #8ECB4F
triadic
#CBCA4F #4FCBCA #CA4FCB
tetradic
#CBCA4F #4FCB8C #4F50CB #CB4F8E
square
#CBCA4F #4FCB8C #4F50CB #CB4F8E
split-complementary
#CBCA4F #4F8ECB #8C4FCB
monochromatic
#7B7A24 #AAA932 #CBCA4F #D9D87E #E7E6AD

Accessibility & contrast

On white

1.74
#CBCA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CBCA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA4F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA4F#FFFFFF#000000##000000
##CBCA4F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#D9BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca4f;
/* rgb */ color: rgb(203, 202, 79);
/* oklch */ color: oklch(81.7% 0.144 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#cbca4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbca4f;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca4f",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 59.516,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81661,
    "c": 0.14369,
    "h": 108.8
  },
  "luminance": 0.55502
}

Semantic roles & 50–950 ramp

primary
#CBCA4F
secondary
#3B3B83
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBCA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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