#CBCA3F#CBCA3F

#CBCA3F is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.155 H 109.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CBCA3F
RGBrgb(203, 202, 63)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0%, 0.5%, 69%, 20.4%)
CIE-LABlab(79.21, -16.00, 65.88)
CIE-LCHlch(79.21, 67.80, 103.65°)
OKLaboklab(81.53% -0.0505 0.1467)
OKLCHoklch(81.53% 0.155 109)
XYZxyz(46.6480, 55.2979, 12.9180)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA3F #3F40CB
analogous
#CB843F #CBCA3F #86CB3F
triadic
#CBCA3F #3FCBCA #CA3FCB
tetradic
#CBCA3F #3FCB84 #3F40CB #CB3F86
square
#CBCA3F #3FCB84 #3F40CB #CB3F86
split-complementary
#CBCA3F #3F86CB #843FCB
monochromatic
#71701F #A1A02C #CBCA3F #D8D76F #E5E59F

Accessibility & contrast

On white

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

On black

12.06
#CBCA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA3F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA3F#FFFFFF#000000##000000
##CBCA3F1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbca3f;
/* rgb */ color: rgb(203, 202, 63);
/* oklch */ color: oklch(81.5% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97d',
    500: '#cbca3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbca3f;
$custom-light: #ded97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca3f",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 59.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8153,
    "c": 0.15516,
    "h": 109
  },
  "luminance": 0.55296
}

Semantic roles & 50–950 ramp

primary
#CBCA3F
secondary
#34357A
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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