#C3D338#C3D338

#C3D338 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.8% C 0.171 H 115.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#C3D338
RGBrgb(195, 211, 56)
HSLhsl(66, 64%, 52%)
HSVhsv(66, 73%, 83%)
CMYKcmyk(7.6%, 0%, 73.5%, 17.3%)
CIE-LABlab(81.00, -24.09, 69.84)
CIE-LCHlch(81.00, 73.88, 109.03°)
OKLaboklab(82.8% -0.0733 0.1541)
OKLCHoklch(82.8% 0.171 115.4)
XYZxyz(46.5150, 58.4769, 12.5774)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3D338 #4838D3
analogous
#D39638 #C3D338 #75D338
triadic
#C3D338 #38C3D3 #D338C3
tetradic
#C3D338 #38D396 #4838D3 #D33875
square
#C3D338 #38D396 #4838D3 #D33875
split-complementary
#C3D338 #3875D3 #9638D3
monochromatic
#6D761A #9BA925 #C3D338 #D2DE6A #E1E99C

Accessibility & contrast

On white

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

On black

12.70
#C3D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3D338
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3D338#FFFFFF#000000##000000
##C3D3381.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#E1CA45
Tritanopia (blue-blind)
#D0C7B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c3d338;
/* rgb */ color: rgb(195, 211, 56);
/* oklch */ color: oklch(82.8% 0.171 115.4);
Tailwind
colors: {
  custom: {
    50: '#d9e07a',
    500: '#c3d338',
    950: '#000000',
  },
}
SCSS
$custom: #c3d338;
$custom-light: #d9e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3d338",
  "rgb": {
    "r": 195,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 66.194,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82798,
    "c": 0.17066,
    "h": 115.4
  },
  "luminance": 0.58476
}

Semantic roles & 50–950 ramp

primary
#C3D338
secondary
#39307F
accent
#41E752
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3D338

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

Preview Lab → · Contrast checker → · Palette generator →

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