#CEA138#CEA138

#CEA138 is a light, vivid orange. Relative luminance 0.389; OKLCH L 73.2% C 0.130 H 84.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CEA138
RGBrgb(206, 161, 56)
HSLhsl(42, 60%, 51%)
HSVhsv(42, 73%, 81%)
CMYKcmyk(0%, 21.8%, 72.8%, 19.2%)
CIE-LABlab(68.68, 6.28, 58.24)
CIE-LCHlch(68.68, 58.58, 83.84°)
OKLaboklab(73.23% 0.012 0.1292)
OKLCHoklch(73.23% 0.13 84.7)
XYZxyz(38.9147, 38.8998, 9.1994)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA138 #3865CE
analogous
#CE5638 #CEA138 #B0CE38
triadic
#CEA138 #38CEA1 #A138CE
tetradic
#CEA138 #38CE56 #3865CE #CE38B0
square
#CEA138 #38CE56 #3865CE #CE38B0
split-complementary
#CEA138 #38B0CE #5638CE
monochromatic
#70571C #A17D28 #CEA138 #DAB869 #E6CF9A

Accessibility & contrast

On white

2.39
#CEA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CEA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA138
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA138#FFFFFF#000000##000000
##CEA1381.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A129
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#DF928C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cea138;
/* rgb */ color: rgb(206, 161, 56);
/* oklch */ color: oklch(73.2% 0.130 84.7);
Tailwind
colors: {
  custom: {
    50: '#e1bc75',
    500: '#cea138',
    950: '#000000',
  },
}
SCSS
$custom: #cea138;
$custom-light: #e1bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#cea138",
  "rgb": {
    "r": 206,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 42,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.12973,
    "h": 84.7
  },
  "luminance": 0.38897
}

Semantic roles & 50–950 ramp

primary
#CEA138
secondary
#90A4D2
accent
#74E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEA138

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

Preview Lab → · Contrast checker → · Palette generator →

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