#C0DB38#C0DB38

#C0DB38 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.3% C 0.180 H 118.8°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#C0DB38
RGBrgb(192, 219, 56)
HSLhsl(70, 69%, 54%)
HSVhsv(70, 74%, 86%)
CMYKcmyk(12.3%, 0%, 74.4%, 14.1%)
CIE-LABlab(83.00, -29.13, 71.65)
CIE-LCHlch(83.00, 77.34, 112.13°)
OKLaboklab(84.35% -0.087 0.158)
OKLCHoklch(84.35% 0.18 118.8)
XYZxyz(47.7846, 62.1554, 13.2205)
Luminance0.6216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB38 #5338DB
analogous
#DBA538 #C0DB38 #6FDB38
triadic
#C0DB38 #38C0DB #DB38C0
tetradic
#C0DB38 #38DBA5 #5338DB #DB386F
square
#C0DB38 #38DBA5 #5338DB #DB386F
split-complementary
#C0DB38 #386FDB #A538DB
monochromatic
#708117 #9CB521 #C0DB38 #D0E46C #E1EEA0

Accessibility & contrast

On white

1.56
#C0DB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#C0DB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB38
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB38#FFFFFF#000000##000000
##C0DB381.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF11
Deuteranopia (green-blind)
#E6CF47
Tritanopia (blue-blind)
#CBCFBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db38;
/* rgb */ color: rgb(192, 219, 56);
/* oklch */ color: oklch(84.3% 0.180 118.8);
Tailwind
colors: {
  custom: {
    50: '#d7e67b',
    500: '#c0db38',
    950: '#000000',
  },
}
SCSS
$custom: #c0db38;
$custom-light: #d7e67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db38",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 56
  },
  "hsl": {
    "h": 69.939,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84346,
    "c": 0.18041,
    "h": 118.8
  },
  "luminance": 0.62155
}

Semantic roles & 50–950 ramp

primary
#C0DB38
secondary
#3E2F88
accent
#3CEC59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0DB38

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

Preview Lab → · Contrast checker → · Palette generator →

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