#CBCA2E#CBCA2E

#CBCA2E is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.165 H 109.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CBCA2E
RGBrgb(203, 202, 46)
HSLhsl(60, 63%, 49%)
HSVhsv(60, 77%, 80%)
CMYKcmyk(0%, 0.5%, 77.3%, 20.4%)
CIE-LABlab(79.12, -16.74, 71.45)
CIE-LCHlch(79.12, 73.38, 103.19°)
OKLaboklab(81.43% -0.0541 0.1555)
OKLCHoklch(81.43% 0.165 109.2)
XYZxyz(46.2441, 55.1363, 10.7906)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA2E #2E2FCB
analogous
#CB7C2E #CBCA2E #7ECB2E
triadic
#CBCA2E #2ECBCA #CA2ECB
tetradic
#CBCA2E #2ECB7C #2E2FCB #CB2E7E
square
#CBCA2E #2ECB7C #2E2FCB #CB2E7E
split-complementary
#CBCA2E #2E7ECB #7C2ECB
monochromatic
#676717 #999823 #CBCA2E #DAD95C #E5E58E

Accessibility & contrast

On white

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

On black

12.03
#CBCA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA2E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA2E#FFFFFF#000000##000000
##CBCA2E1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DDC63C
Tritanopia (blue-blind)
#DABDAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca2e;
/* rgb */ color: rgb(203, 202, 46);
/* oklch */ color: oklch(81.4% 0.165 109.2);
Tailwind
colors: {
  custom: {
    50: '#dfd974',
    500: '#cbca2e',
    950: '#000000',
  },
}
SCSS
$custom: #cbca2e;
$custom-light: #dfd974;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca2e",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 46
  },
  "hsl": {
    "h": 59.618,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81426,
    "c": 0.16464,
    "h": 109.2
  },
  "luminance": 0.55135
}

Semantic roles & 50–950 ramp

primary
#CBCA2E
secondary
#2C2C71
accent
#43E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBCA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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