#CBD140#CBD140

#CBD140 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.162 H 111.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CBD140
RGBrgb(203, 209, 64)
HSLhsl(62, 61%, 54%)
HSVhsv(62, 69%, 82%)
CMYKcmyk(2.9%, 0%, 69.4%, 18%)
CIE-LABlab(81.11, -19.42, 67.39)
CIE-LCHlch(81.11, 70.13, 106.08°)
OKLaboklab(83.05% -0.06 0.1501)
OKLCHoklch(83.05% 0.162 111.8)
XYZxyz(48.3560, 58.6688, 13.6264)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD140 #4640D1
analogous
#D18E40 #CBD140 #82D140
triadic
#CBD140 #40CBD1 #D140CB
tetradic
#CBD140 #40D18E #4640D1 #D14082
square
#CBD140 #40D18E #4640D1 #D14082
split-complementary
#CBD140 #4082D1 #8E40D1
monochromatic
#76791D #A5AB29 #CBD140 #D8DD71 #E6E9A3

Accessibility & contrast

On white

1.65
#CBD140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CBD140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD140
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD140#FFFFFF#000000##000000
##CBD1401.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C828
Deuteranopia (green-blind)
#E1CB4B
Tritanopia (blue-blind)
#D9C4B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd140;
/* rgb */ color: rgb(203, 209, 64);
/* oklch */ color: oklch(83.0% 0.162 111.8);
Tailwind
colors: {
  custom: {
    50: '#dede7e',
    500: '#cbd140',
    950: '#000000',
  },
}
SCSS
$custom: #cbd140;
$custom-light: #dede7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd140",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 62.483,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83047,
    "c": 0.1616,
    "h": 111.8
  },
  "luminance": 0.58668
}

Semantic roles & 50–950 ramp

primary
#CBD140
secondary
#373481
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD140

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

Preview Lab → · Contrast checker → · Palette generator →

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