#C3D138#C3D138

#C3D138 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.4% C 0.169 H 114.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#C3D138
RGBrgb(195, 209, 56)
HSLhsl(65, 62%, 52%)
HSVhsv(65, 73%, 82%)
CMYKcmyk(6.7%, 0%, 73.2%, 18%)
CIE-LABlab(80.45, -23.13, 69.32)
CIE-LCHlch(80.45, 73.08, 108.45°)
OKLaboklab(82.36% -0.0706 0.153)
OKLCHoklch(82.36% 0.169 114.8)
XYZxyz(46.0213, 57.4894, 12.4128)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3D138 #4638D1
analogous
#D19238 #C3D138 #77D138
triadic
#C3D138 #38C3D1 #D138C3
tetradic
#C3D138 #38D192 #4638D1 #D13877
square
#C3D138 #38D192 #4638D1 #D13877
split-complementary
#C3D138 #3877D1 #9238D1
monochromatic
#6C741B #9AA626 #C3D138 #D2DC6A #E1E89B

Accessibility & contrast

On white

1.68
#C3D138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#C3D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3D138
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3D138#FFFFFF#000000##000000
##C3D1381.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C617
Deuteranopia (green-blind)
#DFC945
Tritanopia (blue-blind)
#D0C5B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c3d138;
/* rgb */ color: rgb(195, 209, 56);
/* oklch */ color: oklch(82.4% 0.169 114.8);
Tailwind
colors: {
  custom: {
    50: '#d9de7a',
    500: '#c3d138',
    950: '#000000',
  },
}
SCSS
$custom: #c3d138;
$custom-light: #d9de7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3d138",
  "rgb": {
    "r": 195,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 65.49,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82358,
    "c": 0.16853,
    "h": 114.8
  },
  "luminance": 0.57489
}

Semantic roles & 50–950 ramp

primary
#C3D138
secondary
#38317C
accent
#42E651
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3D138

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

Preview Lab → · Contrast checker → · Palette generator →

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